package com.clock.shop.domain.vo;

import com.clock.common.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class ShopServiceVo {
    /** 服务ID */
    private Long serviceId;

    /** 服务名 */
    @Excel(name = "服务名")
    private String serviceName;

    /** 服务类型 */
    @Excel(name = "服务类型")
    private String serviceCategory;

    /** 服务内容 */
    @Excel(name = "服务内容")
    private String serviceDetails;

    /** 服务图片 */
    @Excel(name = "服务图片")
    private String servicePic;

    /** 服务时长（单位：分钟） */
    @Excel(name = "服务时长", readConverterExp = "单=位：分钟")
    private Integer serviceTime;

    /** 服务价格（单位：元） */
    @Excel(name = "服务价格", readConverterExp = "单=位：元")
    private Integer servicePrice;

    /** 销量 */
    @Excel(name = "销量")
    private Integer sold;

    /** 店铺ID */
    @Excel(name = "店铺名")
    private String shopName;

    /** 上架时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上架时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date launchTime;

    /** 下架时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "下架时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date downTime;

    /** 服务状态，0-已下架，1-上架中 */
    @Excel(name = "服务状态，0-已删除，1-未删除")
    private String serviceStatus;


    /** 逻辑删除，0-已删除，1-未删除 */
    @Excel(name = "逻辑删除，0-已删除，1-未删除")
    private Integer isDeleted;

    public Long getServiceId() {
        return serviceId;
    }

    public void setServiceId(Long serviceId) {
        this.serviceId = serviceId;
    }

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public String getServiceCategory() {
        return serviceCategory;
    }

    public void setServiceCategory(String serviceCategory) {
        this.serviceCategory = serviceCategory;
    }

    public String getServiceDetails() {
        return serviceDetails;
    }

    public void setServiceDetails(String serviceDetails) {
        this.serviceDetails = serviceDetails;
    }

    public String getServicePic() {
        return servicePic;
    }

    public void setServicePic(String servicePic) {
        this.servicePic = servicePic;
    }

    public Integer getServiceTime() {
        return serviceTime;
    }

    public void setServiceTime(Integer serviceTime) {
        this.serviceTime = serviceTime;
    }

    public Integer getServicePrice() {
        return servicePrice;
    }

    public void setServicePrice(Integer servicePrice) {
        this.servicePrice = servicePrice;
    }

    public Integer getSold() {
        return sold;
    }

    public void setSold(Integer sold) {
        this.sold = sold;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public Date getLaunchTime() {
        return launchTime;
    }

    public void setLaunchTime(Date launchTime) {
        this.launchTime = launchTime;
    }

    public Date getDownTime() {
        return downTime;
    }

    public void setDownTime(Date downTime) {
        this.downTime = downTime;
    }

    public String getServiceStatus() {
        return serviceStatus;
    }

    public void setServiceStatus(String serviceStatus) {
        this.serviceStatus = serviceStatus;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    @Override
    public String toString() {
        return "ShopServiceVo{" +
                "serviceId=" + serviceId +
                ", serviceName='" + serviceName + '\'' +
                ", serviceCategory='" + serviceCategory + '\'' +
                ", serviceDetails='" + serviceDetails + '\'' +
                ", servicePic='" + servicePic + '\'' +
                ", serviceTime=" + serviceTime +
                ", servicePrice=" + servicePrice +
                ", sold=" + sold +
                ", shopName=" + shopName +
                ", launchTime=" + launchTime +
                ", downTime=" + downTime +
                ", isDeleted=" + isDeleted +
                ", serviceStatus='" + serviceStatus + '\'' +
                '}';
    }
}
